#ifndef CONTAINERWIDGET_H
#define CONTAINERWIDGET_H

#include <QScrollArea>

class ContainerWidgetPrivate;
class ContainerWidget : public QScrollArea
{
    Q_OBJECT
public:
    enum ImageCategory { Good, New };

    explicit ContainerWidget(QWidget *parent = 0);
    ~ContainerWidget();

    void setImageCategory(ImageCategory ic);
    ImageCategory imageCategory() const;

    void setImageCountPerPage(int count);
    int imageCountPerPage();

public slots:
    void next();
    void clear();

private:
    ContainerWidgetPrivate* d_ptr;
    Q_DISABLE_COPY(ContainerWidget)
};

#endif // CONTAINERWIDGET_H
